package com.qfedu.yuxiaoer.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OcOwnerContractExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OcOwnerContractExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOwnernameIsNull() {
            addCriterion("ownerName is null");
            return (Criteria) this;
        }

        public Criteria andOwnernameIsNotNull() {
            addCriterion("ownerName is not null");
            return (Criteria) this;
        }

        public Criteria andOwnernameEqualTo(String value) {
            addCriterion("ownerName =", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameNotEqualTo(String value) {
            addCriterion("ownerName <>", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameGreaterThan(String value) {
            addCriterion("ownerName >", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameGreaterThanOrEqualTo(String value) {
            addCriterion("ownerName >=", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameLessThan(String value) {
            addCriterion("ownerName <", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameLessThanOrEqualTo(String value) {
            addCriterion("ownerName <=", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameLike(String value) {
            addCriterion("ownerName like", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameNotLike(String value) {
            addCriterion("ownerName not like", value, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameIn(List<String> values) {
            addCriterion("ownerName in", values, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameNotIn(List<String> values) {
            addCriterion("ownerName not in", values, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameBetween(String value1, String value2) {
            addCriterion("ownerName between", value1, value2, "ownername");
            return (Criteria) this;
        }

        public Criteria andOwnernameNotBetween(String value1, String value2) {
            addCriterion("ownerName not between", value1, value2, "ownername");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andCertificateIsNull() {
            addCriterion("certificate is null");
            return (Criteria) this;
        }

        public Criteria andCertificateIsNotNull() {
            addCriterion("certificate is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateEqualTo(String value) {
            addCriterion("certificate =", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotEqualTo(String value) {
            addCriterion("certificate <>", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateGreaterThan(String value) {
            addCriterion("certificate >", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateGreaterThanOrEqualTo(String value) {
            addCriterion("certificate >=", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLessThan(String value) {
            addCriterion("certificate <", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLessThanOrEqualTo(String value) {
            addCriterion("certificate <=", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLike(String value) {
            addCriterion("certificate like", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotLike(String value) {
            addCriterion("certificate not like", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateIn(List<String> values) {
            addCriterion("certificate in", values, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotIn(List<String> values) {
            addCriterion("certificate not in", values, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateBetween(String value1, String value2) {
            addCriterion("certificate between", value1, value2, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotBetween(String value1, String value2) {
            addCriterion("certificate not between", value1, value2, "certificate");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andPictureIsNull() {
            addCriterion("picture is null");
            return (Criteria) this;
        }

        public Criteria andPictureIsNotNull() {
            addCriterion("picture is not null");
            return (Criteria) this;
        }

        public Criteria andPictureEqualTo(String value) {
            addCriterion("picture =", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotEqualTo(String value) {
            addCriterion("picture <>", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThan(String value) {
            addCriterion("picture >", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureGreaterThanOrEqualTo(String value) {
            addCriterion("picture >=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThan(String value) {
            addCriterion("picture <", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLessThanOrEqualTo(String value) {
            addCriterion("picture <=", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureLike(String value) {
            addCriterion("picture like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotLike(String value) {
            addCriterion("picture not like", value, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureIn(List<String> values) {
            addCriterion("picture in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotIn(List<String> values) {
            addCriterion("picture not in", values, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureBetween(String value1, String value2) {
            addCriterion("picture between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andPictureNotBetween(String value1, String value2) {
            addCriterion("picture not between", value1, value2, "picture");
            return (Criteria) this;
        }

        public Criteria andBankidIsNull() {
            addCriterion("bankId is null");
            return (Criteria) this;
        }

        public Criteria andBankidIsNotNull() {
            addCriterion("bankId is not null");
            return (Criteria) this;
        }

        public Criteria andBankidEqualTo(Integer value) {
            addCriterion("bankId =", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotEqualTo(Integer value) {
            addCriterion("bankId <>", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidGreaterThan(Integer value) {
            addCriterion("bankId >", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidGreaterThanOrEqualTo(Integer value) {
            addCriterion("bankId >=", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidLessThan(Integer value) {
            addCriterion("bankId <", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidLessThanOrEqualTo(Integer value) {
            addCriterion("bankId <=", value, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidIn(List<Integer> values) {
            addCriterion("bankId in", values, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotIn(List<Integer> values) {
            addCriterion("bankId not in", values, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidBetween(Integer value1, Integer value2) {
            addCriterion("bankId between", value1, value2, "bankid");
            return (Criteria) this;
        }

        public Criteria andBankidNotBetween(Integer value1, Integer value2) {
            addCriterion("bankId not between", value1, value2, "bankid");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("startTime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("startTime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("startTime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endTIme is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endTIme is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("endTIme =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("endTIme <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("endTIme >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endTIme >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("endTIme <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("endTIme <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("endTIme in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("endTIme not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("endTIme between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("endTIme not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andPaytypeidIsNull() {
            addCriterion("payTypeId is null");
            return (Criteria) this;
        }

        public Criteria andPaytypeidIsNotNull() {
            addCriterion("payTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andPaytypeidEqualTo(Integer value) {
            addCriterion("payTypeId =", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidNotEqualTo(Integer value) {
            addCriterion("payTypeId <>", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidGreaterThan(Integer value) {
            addCriterion("payTypeId >", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("payTypeId >=", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidLessThan(Integer value) {
            addCriterion("payTypeId <", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidLessThanOrEqualTo(Integer value) {
            addCriterion("payTypeId <=", value, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidIn(List<Integer> values) {
            addCriterion("payTypeId in", values, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidNotIn(List<Integer> values) {
            addCriterion("payTypeId not in", values, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidBetween(Integer value1, Integer value2) {
            addCriterion("payTypeId between", value1, value2, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andPaytypeidNotBetween(Integer value1, Integer value2) {
            addCriterion("payTypeId not between", value1, value2, "paytypeid");
            return (Criteria) this;
        }

        public Criteria andMonthrentIsNull() {
            addCriterion("monthRent is null");
            return (Criteria) this;
        }

        public Criteria andMonthrentIsNotNull() {
            addCriterion("monthRent is not null");
            return (Criteria) this;
        }

        public Criteria andMonthrentEqualTo(BigDecimal value) {
            addCriterion("monthRent =", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentNotEqualTo(BigDecimal value) {
            addCriterion("monthRent <>", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentGreaterThan(BigDecimal value) {
            addCriterion("monthRent >", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("monthRent >=", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentLessThan(BigDecimal value) {
            addCriterion("monthRent <", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("monthRent <=", value, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentIn(List<BigDecimal> values) {
            addCriterion("monthRent in", values, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentNotIn(List<BigDecimal> values) {
            addCriterion("monthRent not in", values, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthRent between", value1, value2, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMonthrentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("monthRent not between", value1, value2, "monthrent");
            return (Criteria) this;
        }

        public Criteria andMarginIsNull() {
            addCriterion("margin is null");
            return (Criteria) this;
        }

        public Criteria andMarginIsNotNull() {
            addCriterion("margin is not null");
            return (Criteria) this;
        }

        public Criteria andMarginEqualTo(BigDecimal value) {
            addCriterion("margin =", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginNotEqualTo(BigDecimal value) {
            addCriterion("margin <>", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginGreaterThan(BigDecimal value) {
            addCriterion("margin >", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("margin >=", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginLessThan(BigDecimal value) {
            addCriterion("margin <", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginLessThanOrEqualTo(BigDecimal value) {
            addCriterion("margin <=", value, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginIn(List<BigDecimal> values) {
            addCriterion("margin in", values, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginNotIn(List<BigDecimal> values) {
            addCriterion("margin not in", values, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("margin between", value1, value2, "margin");
            return (Criteria) this;
        }

        public Criteria andMarginNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("margin not between", value1, value2, "margin");
            return (Criteria) this;
        }

        public Criteria andPaytimeidIsNull() {
            addCriterion("payTimeId is null");
            return (Criteria) this;
        }

        public Criteria andPaytimeidIsNotNull() {
            addCriterion("payTimeId is not null");
            return (Criteria) this;
        }

        public Criteria andPaytimeidEqualTo(Integer value) {
            addCriterion("payTimeId =", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidNotEqualTo(Integer value) {
            addCriterion("payTimeId <>", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidGreaterThan(Integer value) {
            addCriterion("payTimeId >", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("payTimeId >=", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidLessThan(Integer value) {
            addCriterion("payTimeId <", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidLessThanOrEqualTo(Integer value) {
            addCriterion("payTimeId <=", value, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidIn(List<Integer> values) {
            addCriterion("payTimeId in", values, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidNotIn(List<Integer> values) {
            addCriterion("payTimeId not in", values, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidBetween(Integer value1, Integer value2) {
            addCriterion("payTimeId between", value1, value2, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andPaytimeidNotBetween(Integer value1, Integer value2) {
            addCriterion("payTimeId not between", value1, value2, "paytimeid");
            return (Criteria) this;
        }

        public Criteria andOthercostidIsNull() {
            addCriterion("otherCostId is null");
            return (Criteria) this;
        }

        public Criteria andOthercostidIsNotNull() {
            addCriterion("otherCostId is not null");
            return (Criteria) this;
        }

        public Criteria andOthercostidEqualTo(Integer value) {
            addCriterion("otherCostId =", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidNotEqualTo(Integer value) {
            addCriterion("otherCostId <>", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidGreaterThan(Integer value) {
            addCriterion("otherCostId >", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidGreaterThanOrEqualTo(Integer value) {
            addCriterion("otherCostId >=", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidLessThan(Integer value) {
            addCriterion("otherCostId <", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidLessThanOrEqualTo(Integer value) {
            addCriterion("otherCostId <=", value, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidIn(List<Integer> values) {
            addCriterion("otherCostId in", values, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidNotIn(List<Integer> values) {
            addCriterion("otherCostId not in", values, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidBetween(Integer value1, Integer value2) {
            addCriterion("otherCostId between", value1, value2, "othercostid");
            return (Criteria) this;
        }

        public Criteria andOthercostidNotBetween(Integer value1, Integer value2) {
            addCriterion("otherCostId not between", value1, value2, "othercostid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidIsNull() {
            addCriterion("settleRentId is null");
            return (Criteria) this;
        }

        public Criteria andSettlerentidIsNotNull() {
            addCriterion("settleRentId is not null");
            return (Criteria) this;
        }

        public Criteria andSettlerentidEqualTo(Integer value) {
            addCriterion("settleRentId =", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidNotEqualTo(Integer value) {
            addCriterion("settleRentId <>", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidGreaterThan(Integer value) {
            addCriterion("settleRentId >", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidGreaterThanOrEqualTo(Integer value) {
            addCriterion("settleRentId >=", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidLessThan(Integer value) {
            addCriterion("settleRentId <", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidLessThanOrEqualTo(Integer value) {
            addCriterion("settleRentId <=", value, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidIn(List<Integer> values) {
            addCriterion("settleRentId in", values, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidNotIn(List<Integer> values) {
            addCriterion("settleRentId not in", values, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidBetween(Integer value1, Integer value2) {
            addCriterion("settleRentId between", value1, value2, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andSettlerentidNotBetween(Integer value1, Integer value2) {
            addCriterion("settleRentId not between", value1, value2, "settlerentid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidIsNull() {
            addCriterion("propertyDeliveryId is null");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidIsNotNull() {
            addCriterion("propertyDeliveryId is not null");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidEqualTo(Integer value) {
            addCriterion("propertyDeliveryId =", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidNotEqualTo(Integer value) {
            addCriterion("propertyDeliveryId <>", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidGreaterThan(Integer value) {
            addCriterion("propertyDeliveryId >", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidGreaterThanOrEqualTo(Integer value) {
            addCriterion("propertyDeliveryId >=", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidLessThan(Integer value) {
            addCriterion("propertyDeliveryId <", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidLessThanOrEqualTo(Integer value) {
            addCriterion("propertyDeliveryId <=", value, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidIn(List<Integer> values) {
            addCriterion("propertyDeliveryId in", values, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidNotIn(List<Integer> values) {
            addCriterion("propertyDeliveryId not in", values, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidBetween(Integer value1, Integer value2) {
            addCriterion("propertyDeliveryId between", value1, value2, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andPropertydeliveryidNotBetween(Integer value1, Integer value2) {
            addCriterion("propertyDeliveryId not between", value1, value2, "propertydeliveryid");
            return (Criteria) this;
        }

        public Criteria andMoreidIsNull() {
            addCriterion("moreId is null");
            return (Criteria) this;
        }

        public Criteria andMoreidIsNotNull() {
            addCriterion("moreId is not null");
            return (Criteria) this;
        }

        public Criteria andMoreidEqualTo(Integer value) {
            addCriterion("moreId =", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidNotEqualTo(Integer value) {
            addCriterion("moreId <>", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidGreaterThan(Integer value) {
            addCriterion("moreId >", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidGreaterThanOrEqualTo(Integer value) {
            addCriterion("moreId >=", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidLessThan(Integer value) {
            addCriterion("moreId <", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidLessThanOrEqualTo(Integer value) {
            addCriterion("moreId <=", value, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidIn(List<Integer> values) {
            addCriterion("moreId in", values, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidNotIn(List<Integer> values) {
            addCriterion("moreId not in", values, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidBetween(Integer value1, Integer value2) {
            addCriterion("moreId between", value1, value2, "moreid");
            return (Criteria) this;
        }

        public Criteria andMoreidNotBetween(Integer value1, Integer value2) {
            addCriterion("moreId not between", value1, value2, "moreid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidIsNull() {
            addCriterion("signInformationId is null");
            return (Criteria) this;
        }

        public Criteria andSigninformationidIsNotNull() {
            addCriterion("signInformationId is not null");
            return (Criteria) this;
        }

        public Criteria andSigninformationidEqualTo(Integer value) {
            addCriterion("signInformationId =", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidNotEqualTo(Integer value) {
            addCriterion("signInformationId <>", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidGreaterThan(Integer value) {
            addCriterion("signInformationId >", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidGreaterThanOrEqualTo(Integer value) {
            addCriterion("signInformationId >=", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidLessThan(Integer value) {
            addCriterion("signInformationId <", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidLessThanOrEqualTo(Integer value) {
            addCriterion("signInformationId <=", value, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidIn(List<Integer> values) {
            addCriterion("signInformationId in", values, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidNotIn(List<Integer> values) {
            addCriterion("signInformationId not in", values, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidBetween(Integer value1, Integer value2) {
            addCriterion("signInformationId between", value1, value2, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andSigninformationidNotBetween(Integer value1, Integer value2) {
            addCriterion("signInformationId not between", value1, value2, "signinformationid");
            return (Criteria) this;
        }

        public Criteria andContractnumberIsNull() {
            addCriterion("contractNumber is null");
            return (Criteria) this;
        }

        public Criteria andContractnumberIsNotNull() {
            addCriterion("contractNumber is not null");
            return (Criteria) this;
        }

        public Criteria andContractnumberEqualTo(String value) {
            addCriterion("contractNumber =", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotEqualTo(String value) {
            addCriterion("contractNumber <>", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberGreaterThan(String value) {
            addCriterion("contractNumber >", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberGreaterThanOrEqualTo(String value) {
            addCriterion("contractNumber >=", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLessThan(String value) {
            addCriterion("contractNumber <", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLessThanOrEqualTo(String value) {
            addCriterion("contractNumber <=", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLike(String value) {
            addCriterion("contractNumber like", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotLike(String value) {
            addCriterion("contractNumber not like", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberIn(List<String> values) {
            addCriterion("contractNumber in", values, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotIn(List<String> values) {
            addCriterion("contractNumber not in", values, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberBetween(String value1, String value2) {
            addCriterion("contractNumber between", value1, value2, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotBetween(String value1, String value2) {
            addCriterion("contractNumber not between", value1, value2, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContracttypeIsNull() {
            addCriterion("contractType is null");
            return (Criteria) this;
        }

        public Criteria andContracttypeIsNotNull() {
            addCriterion("contractType is not null");
            return (Criteria) this;
        }

        public Criteria andContracttypeEqualTo(String value) {
            addCriterion("contractType =", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeNotEqualTo(String value) {
            addCriterion("contractType <>", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeGreaterThan(String value) {
            addCriterion("contractType >", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeGreaterThanOrEqualTo(String value) {
            addCriterion("contractType >=", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeLessThan(String value) {
            addCriterion("contractType <", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeLessThanOrEqualTo(String value) {
            addCriterion("contractType <=", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeLike(String value) {
            addCriterion("contractType like", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeNotLike(String value) {
            addCriterion("contractType not like", value, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeIn(List<String> values) {
            addCriterion("contractType in", values, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeNotIn(List<String> values) {
            addCriterion("contractType not in", values, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeBetween(String value1, String value2) {
            addCriterion("contractType between", value1, value2, "contracttype");
            return (Criteria) this;
        }

        public Criteria andContracttypeNotBetween(String value1, String value2) {
            addCriterion("contractType not between", value1, value2, "contracttype");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}